<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Route2</title>
</head>

<body>
    <div data-ng-app="myApp">
        <h3>路由应用</h3>
        <ul>
            <li><a href="#!/home">主页</a></li>
            <li><a href="#!/about">关于</a></li>
        </ul>
        <div data-ng-view></div>
        <script type="text/ng-template" id='aaaaa'>
            <h1>Home</h1>
        </script>
        <script type="text/ng-template" id='bbbbb'>
            <h1>About</h1>
        </script>
    </div>
    <script src="../node_modules/angular/angular.min.js"></script>
    <script src="../node_modules/angular/angular-route.min.js"></script>
    <script src="route2.js"></script>
</body>

</html>
